package org.linlinjava.litemall.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Destin
 * @date: 2021-11-13
 */
@Data
@ApiModel("发货信息")
public class ShipDTO {

    @ApiModelProperty(value = "发货方式0:快递 1：本地发货", required = true)
    @NotBlank
    private Integer shipType;

    @ApiModelProperty(value = "订单号")
    @NotBlank
    private Integer orderId;

    @ApiModelProperty(value = "发货编号")
    @NotBlank
    private String shipSn;

    @ApiModelProperty(value = "快递公司--代码")
    @NotBlank
    private String shipChannel;
}
